﻿<include file="global-top.html" />		
	<div class="content_maint" style="margin-bottom:25px;">
	<span class="titre_1">Maintenances</span><br />
	<span class="titre_2">Catégories :</span><span class="titre_3"> <a href="/maintenances/index.html">Tout</a> | <a href="/maintenances/index.html?cat=1">Noms de domaine</a> | <a href="/maintenances/index.html?cat=2">Hébergement multualisé</a> | <a href="/maintenances/index.html?cat=3">Panel</a> | <a href="/maintenances/index.html?cat=4">Datacenter</a></span><br /><br /><br />
	
		<div id="maintenance">
			<table id="liste_maint">
				<thead>
					<th class="center id">ID</th>
					<th class="cat">Catégories</th>
					<th class="type">Type de tâche</th>
					<th class="severite">Sévérité</th>
					<th class="resume">Résumé</th>
					<th class="etat">Etat</th>
					<th class="progress">Progression</th>
				</thead>
				<tfoot> 
					<tr>
			          <td colspan="8"><if cond="$page_a != 1"><a href="?p={page_p}" title="Page précedente">Page précedente</a> &larr; </if>Page : {page_a}/{nb_page}<if cond="$page_a < $nb_page"> &rarr; <a href="?p={page_s}" title="Page suivante">Page suivante</a></if></td>
					</tr>
				</tfoot>
				
				<tbody>
					<foreach var="$aff_maint" as="maint">
						<tr id="maint{maint[id_maint]}" class="color_{maint[no_severite_maint]}" onclick="aff_detail({maint[nb_html]},'aff')">
							<td class="center lien_td">{maint[id_maint]}</td>
							<td>{maint[cat_maint]}</td>
							<td>{maint[type_maint]}</td>
							<td>{maint[severite_maint]}</td>
							<td class="lien_td">{maint[titre_maint]}</td>
							<td>{maint[etat_maint]}</td>
							<td>{maint[progress_maint]}% <img src="../img/progession.png" width="{maint[progress_maint]}" height="10" alt="Progression" /> </td>
						</tr>
					</foreach>
				</tbody>
			</table>
		</div>
	</div>
	<div id="maint_background"></div>
	<foreach var="$aff_maint" as="aff_maint">
		<div id="aff_maint_{aff_maint[nb_html]}" class="aff_maint">
		<table id="table_maint"><tr class="color_{aff_maint[no_severite_maint]} titre"><td>
		<div>
			<span class="navig"><if cond="$aff_maint[nb_html] != 1"><a href="#" onclick="aff_detail({aff_maint[nb_html]}, 'last')">Précedente</a> &larr;</if> <a href="#" onclick="aff_detail({aff_maint[nb_html]}, 'disp')">Liste des tâches</a> <if cond="$aff_maint[nb_html] != $i_max">&rarr; <a href="#" onclick="aff_detail({aff_maint[nb_html]}, 'next')">Suivante</a></if></span>
					<span class="titre">{aff_maint[titre_maint]}</span>
		</div>
			</td>
			</tr>
			<tr><td>
				<div><table id="donne_maint">
				
				<tr class="gauche"><th id="categorie">Catégorie :</th> <td headers="categorie">{aff_maint[cat_maint]}</td> <th id="maint_type">Type de tâche :</th> <td headers="maint_type">{aff_maint[type_maint]}</td><th id="severite">Sévérité :</th> <td headers="severite">{aff_maint[severite_maint]}</td>
				</tr>
				
				<tr class="gauche">
				<th id="date_o">Date d'ouverture :</th> <td headers="date_o">{aff_maint[date_o]}</td> <th id="date_f">Date de fin :</th> <td headers="date_f"><if cond="$aff_maint[fermer] == 1">{aff_maint[date_f]}<else>Non définie</if></td><th id="fermer">Fermer :</th> <td headers="fermer">{aff_maint[fermer_t]}</td>
				</tr>
				
				<tr class="gauche">
				<th id="etat">État :</th> <td headers="etat">{aff_maint[etat_maint]}</td> <th id="progess">Progression :</th> <td headers="progress">{aff_maint[progress_maint]}%</td><th id="prio">Priorité :</th> <td headers="prio">{aff_maint[priorite]}</td>
				</tr>
				
				</table>
				</div>
				</td>
				</tr>
				<tr class="details">
				<td>
				<div>
				<p class="details">Détails :</p><br />
				<p class="details_text">{aff_maint[details]}</p>
				</div>
				</td>
				</tr>
			</table>
			<div id="close" onclick="aff_detail({aff_maint[nb_html]}, 'disp')">Fermer</div>
		</div>
	</foreach>
		
	
<include file="global-bottom.html" />
